'DeclarationPublic Overloads Shared Function GetValue(Of T)( _ ByVal variable As BaseDataVariableState(Of T) _ ) As T
'UsageDim variable As BaseDataVariableState(Of T) Dim value As T value = BaseVariableState.GetValue(Of T)(variable)
public static T GetValue<T>( BaseDataVariableState<T> variable )
public: static T^ GetValuegeneric<typename T> ( BaseDataVariableState<T^>^ variable )
Parameters
- variable
 - The variable.
 
Type Parameters
- T
 - The framework type of value contained in the variable.
 
Return Value
The value contained by the variable or the default value for the datatype if the variable is null.